<div class="cbody">
    <div class="cwarp">
        <div class="page-content">
            <!-- 搜索 starts -->
            <div class="row">
                <h3 class="header smaller lighter blue">自动组卷</h3>
                <div class="col-sm-12 ">
                    <div class="col-sm-12 text-right">
                        <p>									
                        <input name="account" type="text" placeholder="试卷标题为必填项......" 
							   ng-model="editItem.title" maxlength="45" ng-init="editItem.title=''">
                            <button class="btn btn-success btn-sm" ng-click="addPaper()">
                                <i class="ace-icon glyphicon-plus"></i> 组卷
                            </button>
                        </p>
                    </div>
                </div>
                <!-- 搜索 end -->
                <!-- 表格区 starts -->
                <div class="col-sm-12 data-list">
                    <table id="dynamic-table"
                           class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
                           role="grid" aria-describedby="dynamic-table_info">
                        <thead>
	                        <tr role="row">
	                            <th></th>
	                            <th>序号</th>
	                            <th>试卷标题</th>
	                            <th style="width: 250px;">操作</th>
	                        </tr>
                        </thead>
                        <tbody>
                        <tr  class="center"  ng-repeat="item in items">
                            <td style="width: 60px;">
	                            <label class="pos-rel">
	                                <input type="radio" name="radio-col" value="{{item.id}}" class="ace" ng-model="selectedUserId" />
	                                <span class="lbl"></span>
	                            </label>
                            </td>
                            <td>{{$index}}</td>
                            <td>{{item.title}}</td>
                            <td style="width: 250px;">
                                <div class="hidden-sm hidden-xs action-buttons">
                                    <a class="orange" href="" title="删除" ng-click="delpaper(item)" data-toggle='modal'>
                                        <i class="fa fa-trash-o bigger-130"></i>
                                    </a>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <!--  分页 start -->
                    <div class="left" uib-pagination total-items="totalItems" page="currentPage" first-text="首页"
                         last-text="尾页" ng-model="currentPage" items-per-page="{{pagesize}}" previous-text="上一页"
                         next-text='下一页' max-size="maxSize" ng-change="pageChanged()" class="pagination-sm"
                         boundary-links="true"></div>
                    <!--  分页  end-->
                </div>

            </div>
        </div>
    </div>
    <!-- pageContent end -->
</div>
<!-------------------- 弹出框 start ------------------------->
<div class="modal fade" id="crdtLogMx" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">新增试卷</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div class="cbody">
                        <div class="cwarp">
                            <!-- page start -->
                            <div id="main-container">
                                <div class="main-content">
                                    <div class="main-content-inner">
                                        <div class="page-content">
                                                  试卷编号：<input type="text" >
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

